import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';
import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'streamline:computer-desktop-screen-device-display-computer-desktop-electronics-monitor-keyboard',
      order: 10,
      title: $t('land.monitorData.title'),
    },
    name: 'MonitorData',
    path: '/data',
    children: [
      // {
      //   name: 'Analytics',
      //   path: '/analytics',
      //   component: () => import('#/views/dashboard/analytics/index.vue'),
      //   meta: {
      //     affixTab: true,
      //     icon: 'lucide:area-chart',
      //     title: $t('page.dashboard.analytics'),
      //   },
      // },
      // {
      //   name: 'Workspace',
      //   path: '/workspace',
      //   component: () => import('#/views/dashboard/workspace/index.vue'),
      //   meta: {
      //     icon: 'carbon:workspace',
      //     title: $t('page.dashboard.workspace'),
      //   },
      // },
    ],
  },
];

export default routes;
